#
# MAINTAINER        Sericloud <frazq10@163.com>
# DOCKER-VERSION    1.6.2
#
# Dockerizing Mariadb: Dockerfile for building image of basic registry data volume container
#
# https://hub.docker.com/_/scratch/
# an explicitly empty image, especially for building images "FROM scratch"
FROM        scratch
MAINTAINER  Sericloud <frazq10@163.com>

VOLUME ["/var/lib/registry"]

# docker build -t 192.168.0.111:5000/sericloud/data-volume-registry .
# docker create --name data-volume-registry 192.168.0.111:5000/sericloud/data-volume-registry /bin
# docker run -it -p 7999:8080 --restart=always --name registry-web --link registry -e REGISTRY_URL=http://registry:5000/v2 -e REGISTRY_NAME=localhost:5000 hyper/docker-registry-web